import type {
    Role,
    TweetData,
    Scene,
    ComfyModel,
    JYAnimation,
    JYTransition,
    JYEffect,
    VoiceModel
} from "~/utils/jiangying";

export const workEditData = {
    projectName: "",
    roles: [
        {
            title: "yangmi",
            src: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/ym-ai%E5%86%99%E7%9C%9F3.jpg",
            description: "长发，珠宝",
            voicemodel_id: 0,
        },
        {
            title: "yangmi2",
            src: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/ym-ai%E5%86%99%E7%9C%9F3.jpg",
            description: "长发，珠宝",
            voicemodel_id: 0,
        },
    ] as Role[],
    scenes: [
        {
            id: 0,
            title: "森林",
            description: "水墨森林",
            src: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/assets/00002-2599231884-p3.jpeg",
        },
        {
            id: 1,
            title: "街道",
            description: "街道",
            src: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/assets/00028-1543141726-jzcg005%2Cnight%2Cscenery%2Ccity%2Ccity_lights%2Cbuilding%2Ccityscape%2C%2C%20masterpiece%2C%20best%20quality%2C.jpeg",
        },
        {
            id: 2,
            title: "海边",
            description: "海边",
            src: "http://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/ohquzCcuaNNEfku.png",
        },
        {
            id: 3,
            title: "夜晚森林",
            description: "夜晚森林",
            src: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/assets/FF57E436C654799CB89F18E2F3C777FF9B353053A6CC28685FE84263C6F260FD.jpeg",
        },
    ] as Scene[],
    Resolution_id: 0,
    cover_url: "",
    contents: [
        {
            content: "这是一个内容",
            prompts: "这是提示词",
            images: ["https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png"],
            choose_image_index: 0,
            audio: ["https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/audio/temps/tts_undefined_%0A%0A%E5%9C%A8%E6%98%9F%E8%BE%B0%E6%8E%A2%E7%B4%A2%E7%9A%84%E6%97%85%E9%80%94%E4%B8%AD%EF%BC%8C%E6%88%91%E4%BB%AC%E4%B8%8D%E6%96%AD%E8%B6%85%E8%B6%8A%E8%87%AA%E5%B7%B1%EF%BC%8C%E6%8B%93%E5%B1%95%E8%A7%86%E9%87%8E%EF%BC%8C%E6%8E%A2%E5%AF%BB%E6%9C%AA%E7%9F%A5%E7%9A%84%E5%8F%AF%E8%83%BD%E6%80%A7.wav"],
            isTalk: false,
            role: "",
            scene_id: 0,
            video: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/%E6%9D%8E%E4%BA%91%E6%80%9D1130-01.mp4",
            transition: '',
            video_effect: '',
            animation: ''
        },
        {
            content: "这是一个内容",
            prompts: "这是提示词",
            images: ["https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png"],
            choose_image_index: 0,
            audio: [{
                url: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/audio/temps/tts_undefined_%0A%0A%E5%9C%A8%E6%98%9F%E8%BE%B0%E6%8E%A2%E7%B4%A2%E7%9A%84%E6%97%85%E9%80%94%E4%B8%AD%EF%BC%8C%E6%88%91%E4%BB%AC%E4%B8%8D%E6%96%AD%E8%B6%85%E8%B6%8A%E8%87%AA%E5%B7%B1%EF%BC%8C%E6%8B%93%E5%B1%95%E8%A7%86%E9%87%8E%EF%BC%8C%E6%8E%A2%E5%AF%BB%E6%9C%AA%E7%9F%A5%E7%9A%84%E5%8F%AF%E8%83%BD%E6%80%A7.wav",
                duration: 10
            }],
            isTalk: false,
            role: "",
            scene_id: 0,
            video: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/%E6%9D%8E%E4%BA%91%E6%80%9D1130-01.mp4",
            transition: '',
            video_effect: '',
            animation: ''
        },
        {
            content: "这是一个内容",
            prompts: "这是提示词",
            images: ["https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png"],
            choose_image_index: 0,
            audio: [{
                url: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/audio/temps/tts_undefined_%0A%0A%E5%9C%A8%E6%98%9F%E8%BE%B0%E6%8E%A2%E7%B4%A2%E7%9A%84%E6%97%85%E9%80%94%E4%B8%AD%EF%BC%8C%E6%88%91%E4%BB%AC%E4%B8%8D%E6%96%AD%E8%B6%85%E8%B6%8A%E8%87%AA%E5%B7%B1%EF%BC%8C%E6%8B%93%E5%B1%95%E8%A7%86%E9%87%8E%EF%BC%8C%E6%8E%A2%E5%AF%BB%E6%9C%AA%E7%9F%A5%E7%9A%84%E5%8F%AF%E8%83%BD%E6%80%A7.wav",
                duration: 10
            }],
            isTalk: false,
            role: "",
            scene_id: 0,
            video: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/%E6%9D%8E%E4%BA%91%E6%80%9D1130-01.mp4",
            transition: '',
            video_effect: '',
            animation: ''
        },
        {
            content: "这是一个内容",
            prompts: "这是提示词",
            images: ["https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png"],
            choose_image_index: 0,
            audio: [{
                url: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/audio/temps/tts_undefined_%0A%0A%E5%9C%A8%E6%98%9F%E8%BE%B0%E6%8E%A2%E7%B4%A2%E7%9A%84%E6%97%85%E9%80%94%E4%B8%AD%EF%BC%8C%E6%88%91%E4%BB%AC%E4%B8%8D%E6%96%AD%E8%B6%85%E8%B6%8A%E8%87%AA%E5%B7%B1%EF%BC%8C%E6%8B%93%E5%B1%95%E8%A7%86%E9%87%8E%EF%BC%8C%E6%8E%A2%E5%AF%BB%E6%9C%AA%E7%9F%A5%E7%9A%84%E5%8F%AF%E8%83%BD%E6%80%A7.wav",
                duration: 10
            }],
            isTalk: false,
            role: "",
            scene_id: 0,
            video: "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/%E6%9D%8E%E4%BA%91%E6%80%9D1130-01.mp4",
            transition: '',
            video_effect: '',
            animation: ''
        },
    ] as TweetData[],
}
export const Resolution = [
    {
        id: 0,
        name: "竖屏576*1024",
        width: 576,
        height: 1024,
        fps: 30,
    },
    {
        id: 1,
        name: "横屏1024*576",
        width: 1024,
        height: 576,
        fps: 30,
    },
]
export const Transitions = [
    {
        category_id: "39663",
        category_name: "热门",
        duration: 466666,
        effect_id: "7824963",
        id: "2BE175CA-AD5B-4f44-BCF3-970C00732C35",
        is_overlap: true,
        name: "六边形变焦",
        path: "C:/Users/ASUS/AppData/Local/JianyingPro/User Data/Cache/effect/7824963/faf521d87b90c79031bfd08d687df52a",
        platform: "all",
        request_id: "202404182103447F0EA702ADCED8A7F1B3",
        resource_id: "7182413216276812346",
        type: "transition",
        preview_url: ""
    },
    {
        category_id: "39663",
        category_name: "热门",
        duration: 466666,
        effect_id: "2912470",
        id: "2BE175CA-AD5B-4f44-BCF3-970C00732C35",
        is_overlap: true,
        name: "云朵 II",
        path: "C:/Users/ASUS/AppData/Local/JianyingPro/User Data/Cache/effect/1114966/5a8914a3658f88265bbeda060a7c79aa",
        platform: "all",
        request_id: "202404182103447F0EA702ADCED8A7F1B3",
        resource_id: "6955760408737092132",
        type: "transition"
    },
    {
        category_id: "39663",
        category_name: "热门",
        duration: 466666,
        effect_id: "9683173",
        id: "2BE175CA-AD5B-4f44-BCF3-970C00732C35",
        is_overlap: true,
        name: "黑色反转片",
        path: "C:/Users/ASUS/AppData/Local/JianyingPro/User Data/Cache/effect/9683173/8e31bcdedda0fe123ad1a71a967ecaa1",
        platform: "all",
        request_id: "202404182103447F0EA702ADCED8A7F1B3",
        resource_id: "7202075814085530149",
        type: "transition"
    }
] as JYTransition[]
export const VideoEffects = [
    {
        category_name: "基础",
        resource_id: '7131985730791805448',
        id: '4097661',
        name: '蓝色丝绒',
        preview_url: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png',
    },
    {
        category_name: "基础",
        resource_id: '7171321435200164383',
        id: '6691829',
        name: '超大光斑',
        preview_url: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png',
    },
    {
        category_name: "基础",
        resource_id: '7299426452896748042',
        id: '28956878',
        name: '跟随运镜',
        preview_url: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png',
    },
    {
        category_name: "基础",
        resource_id: '7281494629483024952',
        id: '23539651',
        name: '快速变焦',
        preview_url: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png',
    },
    {
        category_name: "基础",
        resource_id: '7296418835429593651',
        id: '27896191',
        name: '变焦推镜',
        preview_url: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png',
    },

] as JYEffect[]
export const Animations = [
    {
        resource_id: "7221413342257091133",
        id: '12088589',
        name: '动画',
        category_id: 'in',
        category_name: '入场',
        type: "in",
        preview_url: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png',
    },
] as JYAnimation[]
/**
 * 样式风格和大模型型id
 */
export const StyleAndModels = [
    {
        category: '国风写实',
        name: '国风3',
        ckpt_id: 0,//大模型id
        cover: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/00573-4151075712.png',
        types: [0, 1, 2]
    },
    {
        category: '写实',
        name: 'chilloutmix',
        ckpt_id: 1,
        cover: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/201449.png',
        types: [0, 1, 2]
    },
    {
        category: '魔幻',
        name: '风格3',
        ckpt_id: 2,
        cover: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/ComfyUI_00077_.png',
        types: [0, 1, 2]
    },
    {
        category: '大模型3',
        name: '风格3',
        ckpt_id: 3,
        cover: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/ComfyUI_00077_.png',
        types: [0, 1, 2]
    },
    {
        category: '大模型4',
        name: '风格4',
        ckpt_id: 4,
        cover: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png',
        types: [0, 1, 2]
    },
    {
        category: '大模型4',
        name: '风格4',
        ckpt_id: 5,
        cover: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/image/temps/155694.png',
        types: [0, 1, 2]
    },
] as ComfyModel[]
/**
 * 类型清单
 */
export const TypeList = [
    {
        id: 0,
        name: '写实',
    },
    {
        id: 1,
        name: '玄幻',
    },
    {
        id: 2,
        name: '仙侠',
    },
    {
        id: 3,
        name: '武侠',
    },
    {
        id: 4,
        name: '都市',
    },
    {
        id: 5,
        name: '历史',
    },
    {
        id: 6,
        name: '军事',
    },
    {
        id: 7,
        name: '动漫',
    },
    {
        id: 8,
        name: '体育',
    },
    {
        id: 9,
        name: '科幻',
    },
    {
        id: 10,
        name: '悬疑',
    },
]
/**
 * 声音模型清单
 */
export const VoiceModels = [
    {
        id: 0,
        name: 'Hutao',
        emotions: ['default'],
        tts:'GPTVits'
    },
    {
        id: 1,
        name: '神里绫人',
        emotions: ['default'],
        tts:'GPTVits'
    },
    {
        id: 2,
        name: '宵宫',
        emotions: ['default'],
        tts:'GPTVits'
    },
    {
        id: 3,
        name: '派蒙-平静',
        emotions: ['default'],
        tts:'GPTVits'
    },
    {
        id: 4,
        name: 'ChatTTS自定义1-2',
        tts:'ChatTTS',
        voice:'2'
    }
] as VoiceModel[]
/**
 * 背景音乐
 */
export const BackgroundMusics = [
    {
        id: 0,
        style: '舒缓',
        name: "舒缓宁静背景音乐",
        src: 'https://wangbo0808.oss-cn-shanghai.aliyuncs.com/aidraw/audio/bgmusic/backgroudmusic.MP3',
    }
]
